package leetcode.bit;

import leetcode.bit.common.BitUtils;

class Solution137 {
    public int singleNumber(int[] nums) {
        return BitUtils.singleNumberPro(nums);
    }
}

public class leetcode137 {
    public static void main(String[] args) {
        Solution137 solution137 = new Solution137();
        int[] nums = {0, 1, 0, 1, 0, 1, 99};
        int[] nums1 = {0, 1, 0, 1, 0, 1, -1};
        System.out.println(solution137.singleNumber(nums));
        System.out.println(solution137.singleNumber(nums1));
    }
}
